package com.mysnail.boy.service;

import com.mysnail.boy.bean.User;
import com.mysnail.boy.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created By XJL On 2017/11/11
 */
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public User getUserInfo(){
        User user = userMapper.getUserInfo();
        return user;
    }

}
